package jeni2.VCD;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;

public class menu extends Activity {
    /** Called when the activity is first created. */
	private ImageButton vcd,peminjaman,pengembalian;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        vcd = (ImageButton) findViewById(R.id.VCD);
        vcd.setOnClickListener(new OnClickListener() {
			
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(menu.this, menuvcd.class);
				startActivity(intent);
			}
		});
        peminjaman = (ImageButton) findViewById(R.id.peminjaman);
        peminjaman.setOnClickListener(new OnClickListener() {
			
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(menu.this, menupeminjaman.class);
				startActivity(intent);
			}
		});
        pengembalian = (ImageButton) findViewById(R.id.pengembalian);
        pengembalian.setOnClickListener(new OnClickListener() {
			
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(menu.this, menupengembalian.class);
				startActivity(intent);
			}
		});
    }
}